package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Food;
import com.itheima.pojo.Sport;

import java.util.List;

/**
 * @author xw
 * @date 2020-08-22 20:06
 */
public interface SportKnowledgeService {
    PageResult pageQuery(QueryPageBean queryPageBean);
    void  add(Sport sport);
    void deleteById(Integer id);
    public Sport findById(int id);
    public void edit(Sport sport);
    public void adds(List<Sport> sport);
}
